package com.falcon.file.service;

import com.falcon.core.domain.PagerResponse;
import com.falcon.file.domain.dos.FileDO;
import com.falcon.file.domain.req.FileQuery;
import com.falcon.file.domain.req.FileRequest;

import java.util.List;

public interface IFileService {

    Long save(FileRequest request);

    Boolean update(Long id, FileRequest request);

    Boolean deleteById(Long id);

    FileDO queryInfoById(Long id);

    List<FileDO> queryList(FileQuery request);

    PagerResponse<FileDO> queryPager(FileQuery request);

}

